package com.grape.dp.decorator;
/**
 * 描述:LimitDecorator
 * @author: myx
 * @date: 2019/7/24 0024
 * Copyright © 2019-grape. All rights reserved.
 */
public class LimitDecorator extends AbstractDecorator {
    public LimitDecorator(GatewayComponent gatewayComponent) {
        super(gatewayComponent);
    }
    @Override
    public void service() {
        // 1.传递日志收集装饰类
        super.service();
        System.out.println("第三步>>>>API接口限流....");
    }
}
